<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="keywords" content="首页">
    <meta name="description" content="首页">
    <title>flex容器练习</title>
    <link rel="stylesheet" href="./css/icon.css">
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        ul{
            list-style:none;
        }
        a{
            color:white;
            text-decoration: none;
        }
        a:hover{
            color:yellow;
        }
        .full-center{
            min-width: 1000px;
        }

        .auto-center {
            width :1000px;
            margin-left: auto;
            margin-right: auto;
        }

        .flex-box{
            display: flex;
        }

        .flex-vcenter{
            align-items: center;
        }

        .header {
            background-color: #2a2b2c;
        }
        .header>.auto-center{
            display: flex;
            justify-content: flex-end;
            height: 40px;
        }
        .header a {
            margin-left: 20px;
        }
        .nav{
            margin-top: 30px;
        }
        .nav>.title{
            display: flex;
            justify-content: space-between;
            font-size: 60px;  
            align-items: center;         
        }
        .btn-around {
            padding: 10px;
            background-color: #35c3d9;
            color: white;
        }

        .nav .nav-list{
            display: flex;
            justify-content: space-between;
            height: 150px;
            margin-top: 20px;
            color:white;
            font-size: 36px;
        }

        .nav .nav-list>li{
            display: flex;
            justify-content: space-between;
            width: 300px;
            align-items: center;
            padding: 20px;
            box-sizing: border-box;
        }
        .product{
            margin-top:30px;
        }
        .product>.title{
            font-size: 30px;
            line-height: 35px;
            border-bottom: 1px solid black;
            padding-bottom: 20px;
        }
        .product .product-list{
            display: flex;
            flex-wrap: wrap;
            margin-top: 20px;
            justify-content: space-between;
        }
        .product .product-list .img{
            height:250px;
            background: url("./images/9b36895d3cdd73c5.png") center/cover no-repeat;
        }
        .product .product-list .desc{
            line-height: 36px;
            color:#858585;
        }
        .product .product-list::after{
            content: '';
            width: 288px;
        }
        .product .product-list .bottom{
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .product .product-list .price{
            font-size: 30px;
            color: #858585;
        }
        .product .product-list>li{
            width: 288px;
            height: 380px;
            box-sizing: border-box;
            border:1px solid #e5e4e4;
            margin-bottom: 10px;
            padding: 20px;
        }
    </style>
</head>
<body>
    <!-- 顶部黑色栏部分 -->
    <div class="header full-center">
        <div class="auto-center">
            <a class="flex-box flex-vcenter" href="#">结账</a>
            <a class="flex-box flex-vcenter" href="#">
                <span class="icon-founder-team"></span>
                <span>我的账户</span>
            </a>
            <a class="flex-box flex-vcenter" href="#">
                <span class="icon-cart"></span>
                <span>购物车(3)</span>
            </a>
        </div>
    </div>
    <!-- 第二部分 -->
    <div class="nav auto-center">
        <div class="title">
            <span>查看我们独特的时尚</span>
            <span class="btn-around">方法</span>
        </div>

        <ul class="nav-list">
            <li style="background-color: #35c3d9">
                <span>出售<br>60%</span>
                <img src="./images/discount.png">
            </li>
            <li style="background-color: #91b900">
                <span>自由<br>航运的</span>
                <img src="./images/gift.png">
            </li>
            <li style="background-color: #f356b3">
                <span>24/7<br>支持</span>
                <img src="./images/headphones.png">
            </li>
        </ul>
    </div>
    <!-- 第三部分 -->
     <div class="product auto-center">
        <p class="title">特色商品</p>

        <ul class="product-list">
            <li>
                <div class="img"></div>
                <div class="desc">女式T恤</div>
                <div class="bottom">
                    <span class="price">￥35.99</span>
                    <span class="add-cart btn-around">加入购物车</span>
                </div>
            </li>
            <li>
                <div class="img"></div>
                <div class="desc">女式T恤</div>
                <div class="bottom">
                    <span class="price">￥35.99</span>
                    <span class="add-cart btn-around">加入购物车</span>
                </div>
            </li>
            <li>
                <div class="img"></div>
                <div class="desc">女式T恤</div>
                <div class="bottom">
                    <span class="price">￥35.99</span>
                    <span class="add-cart btn-around">加入购物车</span>
                </div>
            </li>
            <li>
                <div class="img"></div>
                <div class="desc">女式T恤</div>
                <div class="bottom">
                    <span class="price">￥35.99</span>
                    <span class="add-cart btn-around">加入购物车</span>
                </div>
            </li>
            <li>
                <div class="img"></div>
                <div class="desc">女式T恤</div>
                <div class="bottom">
                    <span class="price">￥35.99</span>
                    <span class="add-cart btn-around">加入购物车</span>
                </div>
            </li>
        </ul>
     </div>
</body>
</html>